html,body{
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-touch-callout: none;
    overflow: hidden;
}

*{
    margin: 0;
    padding: 0;
}

/* 功能栏 */
.function-bar{
    width: 100%;
    height: 36px;
    background: #336633;
    color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
}

.function-bar .btn-list{
    margin: 0 0 0 10px;
    float: left;
}

.function-bar .btn-list li{
    display: inline-block;
}

.function-bar .btn-list li .hy-style-btn{
    display: inline-block;
    height: 26px;
    line-height: 26px;
    border-radius: 4px;
    color: #000000;
    font-size: 14px;
    padding: 0 12px;
    border: 1px solid #ffffff;
    margin: 4px 0 0 6px;
    background: -moz-linear-gradient(top, #f7f7f7 0%, #e4e4e4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e4e4e4));
    background: -webkit-linear-gradient(top, #f7f7f7 0%,#e4e4e4 100%);
    background: -o-linear-gradient(top, #f7f7f7 0%,#e4e4e4 100%);
    background: -ms-linear-gradient(top, #f7f7f7 0%,#e4e4e4 100%);
    background: linear-gradient(to bottom, #f7f7f7 0%,#e4e4e4 100%);
    cursor: pointer;
}

.function-bar .btn-list li .hy-style-btn:hover{
    background: #e4e4e4;
}

.function-bar .btn-list li .edit-input{
    width: 260px;
    height: 26px;
    padding: 0 10px;
    outline: none;
    text-align: center;
    font-size: 14px;
}

/* 显示面板 */
.display-panel{
    margin: auto;
    background: #e4e4e4;
    /* overflow: hidden; */
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
}

.display-panel .poster-box{
    width: 100%;
    height: 100%;
    position: relative;
}

.display-panel .poster-box .canvas-box{
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.display-panel .poster-box .canvas-box .mask{
    width: 1920px;
    height: 1280px;
    pointer-events: none;
    border: 1px solid #aaaaaa;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.display-panel .poster-box .canvas-box #posterPanel{
    background: #ffffff;
    border: 1px solid #cccccc;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    position: absolute;
    top: 0;
    left: 0;
}

.operation-box{
    width: 1920px;
    height: 1280px;
    border: 1px solid #cccccc;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#operationPanel{
    position: relative;
    box-sizing: border-box;
}

#operationPanel:hover{
    border: 2px dashed #a70101;
}

#operationPanel:hover .zoom-btn{
    display: block;
}

#operationPanel.mousedown{
    border: 2px dashed #a70101;
}

#operationPanel.mousedown .zoom-btn{
    display: block;
}

#operationPanel #operationMove{
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    border: 1px dashed transparent;
    position: absolute;
    top: 0;
    left: 0;
    cursor: move;
}

#operationPanel .zoom-btn{
    width: 28px;
    height: 28px;
    border: 1px solid #188eee;
    background: #ffffff;
    position: absolute;
    display: none;
}

#operationPanel #zoom_left_top{
    top: -17px;
    left: -17px;
    cursor: se-resize;
}

#operationPanel #zoom_right_top{
    top: -17px;
    right: -17px;
    cursor: sw-resize;
}

#operationPanel #zoom_left_bottom{
    bottom: -17px;
    left: -17px;
    cursor: sw-resize;
}

#operationPanel #zoom_right_bottom{
    bottom: -17px;
    right: -17px;
    cursor: se-resize;
}

/* 底部功能栏 */
.footer{
    width: 100%;
    height: 30px;
    border-top: 1px solid #cccccc;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}